//
//  ServiceConstants.h
//  HelloWorld
//
//  Created by Martin Le C. on 5/12/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//
//
//  ServiceConstants.h
//  HelloWorld
//
//  Created by Martin Le C. on 5/12/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//
#define SERVICE_LOGON			 0x01
#define SERVICE_LOGOFF			 0x02

#define SERVICE_ISAWAY			 0x03
#define SERVICE_ISBACK			 0x04
#define SERVICE_IDLE			 0x05

#define SERVICE_MESSAGE			 0x06

#define SERVICE_IDACT			 0x07
#define SERVICE_IDDEACT			 0x08

#define SERVICE_MAILSTAT		 0x09
#define SERVICE_USERSTAT		 0x0a 
#define SERVICE_NEWMAIL			 0x0b
#define SERVICE_CHATINVITE		 0x0c
#define SERVICE_CALENDAR		 0x0d
#define SERVICE_NEWPERSONMAIL	 0x0e
#define SERVICE_CONTACTNEW		 0x0f

#define SERVICE_ADDIDENT		 0x10
#define SERVICE_ADDIGNORE		 0x11
#define SERVICE_PING			 0x12
#define SERVICE_GROUPRENAME		 0x13
#define SERVICE_SYSMESSAGE		 0x14
#define SERVICE_PASSTHROUGH2	 0x16

//static int SERVICE_CHATLOGON		 0x1e
//static int SERVICE_CHATLOGOFF		 0x1f
#define SERVICE_CHATPM			 0x20
#define SERVICE_NOTIFY				 0x4b
#define SERVICE_AUTHRESP			 0x54
#define	SERVICE_BUDSTATLIST			 0xf0  // added 6/6/2009
#define SERVICE_LIST				 0xf1
#define SERVICE_AUTH				 0x57
#define SERVICE_ACCINFO				 0x55
#define SERVICE_FRIENDADD			 0x83
#define SERVICE_FRIENDREMOVE		 0x84
#define SERVICE_CONTACTIGNORE		 0x85
#define SERVICE_CONTACTREJECT		 0x86

#define SERVICE_CHATCONNECT			 0x96
#define SERVICE_CHATGOTO			 0x97	// ?
#define SERVICE_CHATLOGON			 0x98
#define SERVICE_CHATLEAVE			 0x99	// ?
#define SERVICE_CHATLOGOFF			 0x9b
#define SERVICE_CHATDISCONNECT		 0xa0
#define SERVICE_CHATPING			 0xa1	// ?
#define SERVICE_CHATMSG				 0xa8
#define SERVICE_BUDSTAT				 0xc6
// -----Home made service numbers, used in event dispatch only
#define SERVICE_X_ERROR					 0xf00
#define SERVICE_X_OFFLINE				 0xf01
#define SERVICE_X_EXCEPTION			     0xf02
#define SERVICE_X_BUZZ					 0xf03
#define SERVICE_X_CHATUPDATE			 0xf04
#define SERVICE_X_CHATCAPTCHA			 0xf05